Skip to content

fix: allow graphql schema to build properly on Windows#680

Merged
sid88in merged 1 commit into
sid88in:masterfrom
jtpage:jtpage/windows-path-schema-fix
May 22, 2026
Merged

fix: allow graphql schema to build properly on Windows#680
sid88in merged 1 commit into
sid88in:masterfrom
jtpage:jtpage/windows-path-schema-fix

Conversation

@jtpage
Copy link
Copy Markdown

@jtpage jtpage commented Jan 8, 2026

Proposed changes

When using appsync-serverless-plugin on my Windows laptop, the serverless bundle fails to build properly (the Schema.Definition ends up being empty). Converting the back-slashes to forward-slashes resolves the issue.

Issue(s)

N/A

Steps to test or reproduce

  1. Create project with graphql schema and serverless appsync plugin
  2. Open project on Windows machine
  3. Attempt to deploy (e.g., sls deploy)
  4. Open .serverless/serverless-state.json
  5. Observe that GraphQlSchema.Definition is empty

@gjhommersom
Copy link
Copy Markdown

I can confirm that this is an issue on Windows. Would love to see this merged.

@sid88in sid88in self-requested a review May 22, 2026 14:35
Copy link
Copy Markdown
Owner

@sid88in sid88in left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sid88in sid88in merged commit 1ef9359 into sid88in:master May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants